﻿@{
    var rand = new Random().Next(30000, 40000);

    //文本编写器
    var razorWriter = ViewContext.Writer;

    razorWriter.Write("<div id='ajax_target_" + rand.ToString() + "'></div>");
    razorWriter.Write(" <script type=\"text/javascript\"> ");
    razorWriter.Write("$('#ajax_target_" + rand.ToString() + "').load('" + ViewData["AjaxUrl"].ToString() + "');");
    razorWriter.Write(" </script>");
}
